Skip to content

Update Summoned snake#2285

Open
Wirednuke wants to merge 1 commit intomasterfrom
Summoned-Snake-changes
Open

Update Summoned snake#2285
Wirednuke wants to merge 1 commit intomasterfrom
Summoned-Snake-changes

Conversation

@Wirednuke
Copy link
Copy Markdown
Collaborator

Add some small scalable poison damage to the summoned snakes.

var focusItems = player.Paperdoll.OfType<IPetFocus>().ToList();
var focusItems2 = player.Rings.OfType<IPetFocus>().ToList();
var allFocusItems = focusItems.Concat(focusItems2).ToList();
poisonStrength = Math.Max(1, magicSkill - 10);
Copy link
Copy Markdown
Collaborator

@n099y n099y Jan 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just overwriting the parameter ?
image

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a tuple, so it's just defining the variables that the method will return when it's called.
it's initially whatever the default value for double is until we make it equal to the Math.max stuff at the bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants